package com.hssy.wululuaplan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *   课程计划
 * </p>
 *
 * @author Mr.Hongtao
 * @since 2024-02-28
 */
@Getter
@Setter
@TableName("course_schedule")
@ApiModel(value = "CourseSchedule对象", description = "课程计划")
public class CourseSchedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("课程id")
    @TableField("course_id")
    private Integer courseId;

    @ApiModelProperty("开始时间")
    @TableField("start")
    private Date start;

    @ApiModelProperty("结束时间")
    @TableField("end")
    private Date end;

    @ApiModelProperty("状态值")
    @TableField("status")
    private Integer status;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty("删除标识")
    @TableField("delete_flag")
    @TableLogic
    private Boolean deleteFlag;


}
